package com.canaan.business.domain.quality;

import java.math.BigDecimal;

import com.canaan.common.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.canaan.common.annotation.Excel;
import com.canaan.common.core.domain.BaseEntity;

/**
 * 物料质检任务明细对象 wms_product_quality_task_detail
 *
 * @author ruoyi
 * @date 2023-02-07
 */
@ApiModel(description = "wms_product_quality_task_detail")
@TableName("wms_product_quality_task_detail")
public class ProductQualityTaskDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @ApiModelProperty("${comment}")
    private Long id;

    /** 编码 */
    @Excel(name = "编码")
    @ApiModelProperty("编码")
    private String no;

    /** 条码 */
    @Excel(name = "条码")
    @ApiModelProperty("条码")
    private String barcode;

    /** 条码数量 */
    @Excel(name = "条码数量")
    @ApiModelProperty("条码数量")
    private BigDecimal barcodeQty;

    /** 质检任务编号 */
    @Excel(name = "质检任务编号")
    @ApiModelProperty("质检任务编号")
    private String taskNo;

    /** 质检项编码 */
    @Excel(name = "质检项编码")
    @ApiModelProperty("质检项编码")
    private String itemNo;

    /** 质检项名称 */
    @Excel(name = "质检项名称")
    @ApiModelProperty("质检项名称")
    private String itemName;

    /** 值类型 */
    @Excel(name = "值类型")
    @ApiModelProperty("值类型")
    private String valueType;

    /** 标准上限 */
    @Excel(name = "标准上限")
    @ApiModelProperty("标准上限")
    private BigDecimal upperLimitValue;

    /** 标准下限 */
    @Excel(name = "标准下限")
    @ApiModelProperty("标准下限")
    private BigDecimal lowerLimitValue;

    /** 实际值 */
    @Excel(name = "实际值")
    @ApiModelProperty("实际值")
    private String actualValue;

    /** 检验结果 */
    @Excel(name = "检验结果")
    @ApiModelProperty("检验结果")
    private String qualityResult;

    /** 方法 */
    @Excel(name = "方法")
    @ApiModelProperty("方法")
    private String method;

    /** 质检项为空是否默认合格 */
    @ApiModelProperty("质检项为空是否默认合格")
    private boolean whetherPass;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty("${comment}")
    private Long sort;

    /** $column.columnComment */
    @ApiModelProperty("${comment}")
    private String delFlag;

    public boolean getWhetherPass() {
        return whetherPass;
    }

    public void setWhetherPass(boolean whetherPass) {
        this.whetherPass = whetherPass;
    }

    public BigDecimal getBarcodeQty() {
        return barcodeQty;
    }

    public void setBarcodeQty(BigDecimal barcodeQty) {
        this.barcodeQty = barcodeQty;
    }

    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public String getTaskNo() {
        return taskNo;
    }

    public void setTaskNo(String taskNo) {
        this.taskNo = taskNo;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNo(String no)
    {
        this.no = no;
    }

    public String getNo()
    {
        return no;
    }
    public void setItemNo(String itemNo)
    {
        this.itemNo = itemNo;
    }

    public String getItemNo()
    {
        return itemNo;
    }
    public void setItemName(String itemName)
    {
        this.itemName = itemName;
    }

    public String getItemName()
    {
        return itemName;
    }
    public void setValueType(String valueType)
    {
        this.valueType = valueType;
    }

    public String getValueType()
    {
        return valueType;
    }
    public void setUpperLimitValue(BigDecimal upperLimitValue)
    {
        this.upperLimitValue = upperLimitValue;
    }

    public BigDecimal getUpperLimitValue()
    {
        return upperLimitValue;
    }
    public void setLowerLimitValue(BigDecimal lowerLimitValue)
    {
        this.lowerLimitValue = lowerLimitValue;
    }

    public BigDecimal getLowerLimitValue()
    {
        return lowerLimitValue;
    }
    public void setActualValue(String actualValue)
    {
        this.actualValue = actualValue;
    }

    public String getActualValue()
    {
        return actualValue;
    }
    public void setQualityResult(String qualityResult)
    {
        this.qualityResult = qualityResult;
    }

    public String getQualityResult()
    {
        return qualityResult;
    }
    public void setMethod(String method)
    {
        this.method = method;
    }

    public String getMethod()
    {
        return method;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("no", getNo())
            .append("itemNo", getItemNo())
            .append("itemName", getItemName())
            .append("valueType", getValueType())
            .append("upperLimitValue", getUpperLimitValue())
            .append("lowerLimitValue", getLowerLimitValue())
            .append("actualValue", getActualValue())
            .append("qualityResult", getQualityResult())
            .append("method", getMethod())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("sort", getSort())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
